package com.qf.controller;

import com.qf.pojo.resp.BaseResp;
import com.qf.service.DetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.prefs.BackingStoreException;

@RestController
@RequestMapping("/details")
public class DetailsController {

    @Autowired
    DetailsService detailsService;

    @RequestMapping("/findAll")
    public BaseResp findAll(){
        return detailsService.findAll();
    }
}
